
            <div class="row">
                <div class="col-md-12">

                    <!--***** BASIC FORM *****-->
                    <div class="card form" id="form1">
                        <div class="card-header">
                            <h3>新闻添加</h3>
                        </div>
                        <br>
                        <form action="" method="post">
                            <div class="row">
                                <div class="col-md-6">
                                    <div class="form-group">
                                        <label for="exampleInputEmail1">新闻标题</label>
                                        <input type="text" name="title" class="form-control" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="新闻标题">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">新闻类型</label>
                                        <input type="text" name="type" class="form-control" id="exampleInputPassword1" placeholder="新闻类型">
                                    </div>  
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">作者</label>
                                        <input type="text" name="author" class="form-control" id="exampleInputPassword1" placeholder="作者">
                                    </div>     
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">内容</label>
                                        <textarea  name="content" class="form-control" id="exampleTextarea" rows="3"></textarea>
                                    </div>  
                            <button type="submit" class="btn btn-general btn-blue mr-2">提交</button>  
                        </form>
                    </div>


                </div>
            </div>
        </div>

    <!--Core Javascript -->
    <script>
        new Chart(document.getElementById("myChart-nav").getContext('2d'), {
          type: 'doughnut',
          data: {
            labels: ["M", "T", "W", "T", "F", "S", "S"],
            datasets: [{
              backgroundColor: [
                "#2ecc71",
                "#3498db",
                "#95a5a6",
                "#9b59b6",
                "#f1c40f",
                "#e74c3c",
                "#34495e"
              ],
              data: [12, 19, 3, 17, 28, 24, 7]
            }]
          },
          options: {
              legend: { display: false },
              title: {
                display: true,
                text: ''
               } 
            }
        });
    </script>
